﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using FwProject.ShoppingMall.Shop;

namespace FwProject.Shop.Dto
{
    [AutoMap(typeof(ShopTag))]
    public class ShopTagInput
    {
        /// <summary>
        /// 标签名称
        /// </summary>
        [Required]
        [Display(Name ="标签名称")]
        public string TagName { get; set; }
        /// <summary>
        /// 标签类型
        /// </summary>
        [Required]
        [Display(Name ="标签类型")]
        public TagTypeEnum TagType { get; set; } = TagTypeEnum.商品;
        /// <summary>
        /// 是否启用
        /// </summary>
        [Display(Name = "是否启用")]
        public bool IsActive { get; set; } = true;
    }
}
